package mapper

import "administrator/app/model"

type RoleManageMapper struct {
	SelectMenuAuths func(any) ([]*model.MenuRouter, error)

	SelectFuncAuths func(any) ([]*model.FuncRouter, error)

	InsertMenuAuth func(any) error

	IsAuthUserMenu func(any) ([]*model.RoleUserMenuAuth, error)

	DeleteMenuAuth func(any) error

	InsertFuncAuth func(any) error

	IsAuthUserFunc func(any) ([]*model.RoleUserFuncAuth, error)

	DeleteFuncAuth func(any) error
}
